home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x64.msi / Data1.cab / _6A77A4062F9B45569426A69C574C2969 < prev    next >
Extensible Markup Language  |  2008-06-28  |  5KB  |  90 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
  3.     <xsl:output method="html" version="4.0" encoding="UTF-8" omit-xml-declaration="yes" indent="yes"/>
  4.     <xsl:include href="./resource/html/propcell.xsl"/>
  5.     <xsl:template match="/Root">
  6.         <html>
  7.             <table>
  8.                 <tr>
  9.                     <!-- Object header -->
  10.                     <td colspan="4">
  11.                         <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  12.                         <img src="hline_gray"/>
  13.                     </td>
  14.                 </tr>
  15.                 <tr>
  16.                     <!-- Diagram image -->
  17.                     <td>
  18.                         <img src="EE4E9A06-A28C-4fd1-BEAE-9B751D52DCE9" align="left"/>
  19.                     </td>
  20.                     <!-- properties list -->
  21.                     <td>
  22.                         <table cellspacing="0" cellpadding="0">
  23.                             <xsl:call-template name="PropCell">
  24.                                 <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
  25.                                 <xsl:with-param name="CheckNull" select="1"/>
  26.                             </xsl:call-template>
  27.                             <xsl:call-template name="PropCell">
  28.                                 <xsl:with-param name="PropName" select="string('PROPID_ADB_ARCHIVESIZESTRING')"/>
  29.                             </xsl:call-template>
  30.                             <xsl:call-template name="PropCell">
  31.                                 <xsl:with-param name="PropName" select="string('PROPID_ADB_BASELOCATION')"/>
  32.                             </xsl:call-template>
  33.                             <xsl:call-template name="PropCell">
  34.                                 <xsl:with-param name="PropName" select="string('PROPID_ADB_LOCATION')"/>
  35.                             </xsl:call-template>
  36.                             <xsl:call-template name="PropCell">
  37.                                 <xsl:with-param name="PropName" select="string('PROPID_ADB_CREATIONDATESTRING')"/>
  38.                             </xsl:call-template>
  39.                             <xsl:call-template name="PropCell">
  40.                                 <xsl:with-param name="PropName" select="string('PROPID_ADB_LONGCOMMENT')"/>
  41.                                 <xsl:with-param name="CheckNull" select="1"/>
  42.                                 <xsl:with-param name="WordWrap" select="1"/>
  43.                             </xsl:call-template>
  44.  
  45.                                                     <xsl:if test="number(PropertyBag/Property[@name='PROPID_ADB_FLAGS_LIST']/ListVal) != 0">    
  46.                                                         <tr>
  47.                                                             <td align="right" valign="top">
  48.                                                                 <nobr>
  49.                                                                 <b>QT_TRANSLATE_NOOP("QObject", "Flags:")</b>
  50.                                                                 </nobr>
  51.                                                             </td>
  52.                             
  53.                                                             <td width="100%">
  54.                                                                 <table cellspacing="0" cellpadding="0">
  55.                                                                     <xsl:for-each select="PropertyBag/Property[@name='PROPID_ADB_FLAGS_LIST']/ListVal">
  56.                                                                         <tr>
  57.                                                                             <td>
  58.                                                                                 <img>
  59.                                                                                     <xsl:attribute name="src">
  60.                                                                                         <xsl:value-of select="ListVal[@index=1]"/>
  61.                                                                                     </xsl:attribute>
  62.                                                                                 </img>
  63.                                                                             </td>
  64.                             
  65.                                                                             <td width="100%">
  66.                                                                                 <xsl:value-of select="ListVal[@index=2]"/>
  67.                                                                             </td>
  68.                                                                         </tr>
  69.                                                                     </xsl:for-each>
  70.                                                                 </table>
  71.                                                             </td>
  72.                                                         </tr>
  73.                                                     </xsl:if>
  74.                         </table>
  75.                     </td>
  76.                     <td width="100%"> </td>
  77.                 </tr>
  78.                 <tr>
  79.                     <!-- Divider line -->
  80.                     <td colspan="4">
  81.                         <img src="hline_gray"/>
  82.                     </td>
  83.                 </tr>
  84.             </table>
  85.             <!-- Command hyperlinks -->
  86.             <xsl:call-template name="CommandTable"/>
  87.         </html>
  88.     </xsl:template>
  89. </xsl:stylesheet>
  90.